// Define the LED pin const int ledPin = 2; // You can change this to the pin you're using for the LED // Setup function void setup() { // Initialize the LED pin as an output pinMode(ledPin, OUTPUT); } // Loop function void loop() { // Turn the LED on (HIGH is the voltage level) digitalWrite(ledPin, HIGH); // Wait for a second delay(1000); // Turn the LED off by making the voltage LOW digitalWrite(ledPin, LOW); // Wait for a second delay(1000); }